home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
povray-2.1
/
povscn
/
scenes
/
level1
/
mappr2.pov
< prev
next >
Wrap
Text File
|
1995-05-03
|
1KB
|
63 lines
// Persistence Of Vision raytracer version 2.0 sample file.
// PovRay sample image mapper data file
// by Alexander Enzmann
// NOTE: Requires "test.gif"
#include "shapes.inc"
#include "colors.inc"
#declare Bi = 2.0
#declare Texture2 = /* Cylindrical image map */
texture {pigment{image_map {gif "test.gif" map_type 2 once interpolate Bi } } }
#declare Texture5 = /* Torus image map */
texture {pigment{image_map {gif "test.gif" map_type 5 interpolate Bi } } }
cylinder { <0,0,0>, y, 1
open
texture { Texture2 }
translate <0, -0.5, 0>
scale <7, 14, 7>
rotate <40, -60, 0>
translate <-12, 15, 20>
}
object { Hyperboloid_Y
translate 1*y scale <1, 0.5, 1>
texture { Texture2 }
scale <1, 2, 1> translate <0, -1, 0>
clipped_by {box{<-2,-1,-2>,<2,1,2>} } bounded_by{clipped_by}
scale <5, 7, 5>
rotate <-40, -90, 0>
translate <-12, -15, 20>
}
/* Torus having major radius = 6.4, minor radius = 3.5 */
torus { 6.4, 3.5
texture { Texture5 }
rotate -90*y
rotate -20*x
translate <12, 15, 20>
}
object { Paraboloid_Y
texture { Texture2 }
clipped_by{box{<-2,0,-2>,<2,1,2>} } bounded_by{clipped_by}
translate <0, -0.5, 0>
scale <8, 16, 8>
rotate <-40, 0, 0>
translate <12, -15, 20>
}
camera {
location <0, 0, -90>
direction <0, 0, 1>
up <0, 0.5, 0>
right <0.6666, 0, 0>
}
light_source {<0, 300, -200> colour White}